//
//  UIViewController+NavItem.h
//  YiShou
//
//  Created by Kerry on 16/3/4.
//  Copyright © 2016年 FuMi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^voidBlock)(void);

@interface UIViewController (NavItem)

/*!
 *  @brief 配置左按钮默认
 *
 *  @param action block
 */
- (void)configNavLeftItemWith:(voidBlock)action;

/*!
 *  @brief 配置左按钮
 *
 *  @param object 传入对象
 *  @param action block
 */
- (void)configNavLeftItemWith:(id)object andAction:(voidBlock)action;

/*!
 *  @brief 配置右按钮
 *
 *  @param object 传入对象
 *  @param action block
 */
- (void)configNavRightItemWith:(id)object andAction:(voidBlock)action;

@end
